/**
*   rem移动适配的完整流程
*   1.要求设计师按10rem的宽来设计设计稿（14.4rem）
*   2.我们按照设计稿一比一还原即可（px单元来书写）
*   3.将px单位转换成对应的rem单位，来实现不同移动端屏幕的适配
*   那我们就需要知道 对应的屏幕尺寸下75px的大小
*   750ox 75px的大小 我们想要将当前页面分成多少份
*   分成10份 每一份就是75px大小 = 10rem / 10 = 1rem 75px=1rem
**/
/* header start */
.header{
    height: 0.6667rem;
    display: flex;
    align-items: center;
    width: 10rem;
    margin: 0.24rem auto 0;
}
.header .logo-wrap{
    flex-grow: 1;
    margin-left: 0.3867rem;
}
.header .logo-wrap .login{
    width: 1.9467rem;
}
.header .search{
    margin-right: 0.6533rem;
}
.header .search .search-img{
    width: 0.48rem;
}
.header .login-wrap{
    margin-right: 0.56rem;
}
.header .login-wrap .login{
    width: 0.6133rem;
}
.header .download{
    width: 1.52rem;
    height: 0.64rem;
    background: #FF9F00;
    border-radius: 0.1067rem;
    font-weight: 400;
    color: #FFFFFF;
    text-align: center;
    line-height: 0.64rem;
    margin-right: 0.3333rem;
}
/* end header */

/* nav start */
.nav{
    border-bottom: 0.0133rem solid #F3F3F3;
    width: 10rem;
    margin: 0.6rem auto 0;
}
.nav .swiper{
    height: 100%;
    overflow: visible;
}
.nav .swiper .swiper-slide a{
    display: inline-block;
    border-bottom: 0.0267rem solid transparent;
    font-size: 0.3733rem;
    color: #6B6B6B;
    padding-bottom: 0.28rem;
}
.nav .swiper .swiper-slide a.active{
    color: #FF9F00;
    border-color: #FF9F00;  
} 
/* end nav */
/* banner start */
.banner{
    width: 9.4933rem;
    height: 3.1467rem;
    margin: 0.2533rem auto 0.24rem;
    --swiper-pagination-bullet-horizontal-gap:0.08rem;
}
.banner .swiper{
    height: 3.1467rem;
}
.banner .swiper img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.banner .swiper-pagination-bullet{
    width: 0.2rem;
    height: 0.08rem;
    background-color: rgba(255,255,255,0.2);
    border-radius: 0;
}
/* end banner */
/* menu start */
.menu{
    width: 9.4933rem;
    background-color: #F7F7F7;
    margin: 0 auto;
    padding-bottom: 0.4133rem;
    border-radius: 0.1067rem;
    margin-bottom: 0.24rem;
}
.menu ul{
    display: flex;
    flex-wrap: wrap;
}
.menu ul li{
    width: 20%;
    padding-top: 0.4rem;
}
.menu ul li a{
    text-align: center;
    display: block;
    font-weight: 400;
    font-size: 0.2933rem;
    color: #6B6B6B;
}
.menu ul li img{
    width: 1.0133rem;
    height: 1.0133rem;
}
.menu ul li p{
    margin-top: 0.1733rem;
}
/* end menu */
/* main start */
.main{
    /* background-color: khaki; */
    min-height: 10.6667rem;
}
.tabs{
    background-color: #f7f7f7;
    border-radius: 0.1067rem;
}
.tabs .tab-header{
    height: 1.3867rem;
    display: flex;
    align-items: center;
    padding-left: 0.16rem;
}
.tabs .tab-header .tab-header-item{
    border: 0.0267rem solid #6B6B6B;
    width: 1.5733rem;
    height: 0.5867rem;
    text-align: center;
    line-height: 0.5467rem;
    font-size: 0.2933rem;
    color: #6c6c6c;
    border-radius: 0.2933rem;
    margin-right: 0.3867rem;
}
.tabs .tab-header .tab-header-item.active{
    border-color: #FF9F00;
    color: #FF9F00;
}
.tabs .tab-content{
    /* min-height: 4rem;
    border: 0.0133rem solid red; */
}
.tabs .tab-content .tab-content-item{
    display: none;
}
.tabs .tab-content .tab-content-item.active{
    display: block;
}
/* .tabs .tab-content .tab-content-item .swiper{
    height: 2.6667rem;
    background-color: khaki;
} */
/* .tabs .tab-content .tab-content-item .swiper-slide{
    border: 0.0133rem solid red;
} */

/* 公共卡片样式 */
.common-card .img{
    height: 2.5867rem;
    position: relative;
}
.common-card .img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.common-card .img .card-info{
    width: 100%;
    height: 0.7467rem;
    padding: 0.2rem 0 0.1867rem;
    position: absolute;
    left: 0;
    bottom: 0;
    background-image: linear-gradient(to bottom, transparent, rgba(0,0,0,0.8));
    display: flex;
    justify-content: space-between;
}
.common-card .img .card-info span{
    /* border: 0.0133rem solid red; */
    color: #fff;
    padding-left: 0.5733rem;
}
.common-card .img .card-info .play-count{
    background-image: url(../images/icon-play@2x.png);
    background-repeat: no-repeat;
    background-size: 0.4133rem 0.36rem;
    margin-left: 0.1867rem;
}
.common-card .img .card-info .number{
    background-image: url(../images/icon-nav@2x.png);
    background-repeat: no-repeat;
    background-size: 0.4133rem 0.36rem;
    margin-right: 0.16rem;
}
.common-card  p.title{
    color: #000;
    line-height: 0.48rem;
    height: 0.96rem;
    margin-top: 0.1067rem;
    margin-bottom: 0.2533rem;
}
/* end tabs */
/* recommend-list start */
.recommend-list{
    background-color: #f7f7f7;
    border-radius: 0.1067rem;
    margin-top: 0.24rem;
    margin-bottom: 0.24rem;
}
.recommend-list ul li{
    padding: 0.2667rem 0rem;
    margin: 0 0.2667rem;
    border: 0.0133rem solid #E6E6E6;
}
.recommend-list ul li a{ 
    display: flex;
    align-items: center;
}
.recommend-list ul li:last-child{
    border: none;
}
.recommend-list ul li .img-wrap{ 
    margin-right: 0.24rem;
    width: 1.0133rem;
    height: 1.0133rem;
    flex-shrink: 0; /* 永远不压缩*/flex-shrink: 0; /* 永远不压缩*/
}
.recommend-list ul li .img-wrap img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.recommend-list ul li .info{
    flex-grow: 1;
    min-width: 0; /* 最小宽 */
}
.recommend-list ul li .info .title{
    font-weight: 400;
    font-size: 0.3467rem;
    color: #FF9F00;
}
.recommend-list ul li .info .desc{
    font-weight: 400;
    color: #000000;
    margin-top: 0.3067rem;
}
.recommend-list ul li .play-button{
    width: 0.5867rem;
    height: 0.5867rem;
    background-image: url(../images/icon-play-@2x.png);
    background-size: cover; /*控制图片大小*/
    margin-right: 0.2rem;
    margin-left: 0.3467rem;
    flex-shrink: 0; /* 永远不压缩*/
}
/* end recommend-list */
/* history start */
.history{
    background-color: #f7f7f7;
    border-radius: 0.1067rem;
    margin-bottom: 0.24rem;
}
.history-header{
    height: 1.0933rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-left: 0.2667rem;
    margin-right: 0.2667rem;
}
.history-header .title{
    font-weight: bold;
    font-size: 0.4533rem;
    color: #000000;
}
.history-header .more{
    font-weight: 400;
    font-size: 0.3467rem;
    color: #B9B9BD;
    padding-right: 0.32rem;
    margin-right: 0.1333rem;
    background-image: url(../images/arrow-right.png);
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 0.1467rem; /* 一定要去控制图片大小*/
}
.history-list .swiper .swiper-slide{
    width: 2.2667rem;
}
.history-list .swiper .swiper-slide .img-wrap{
    width: 2.2667rem;
    height: 3.04rem;
}
.history-list .swiper-slide .title{
    color: #000000;
    line-height: 0.48rem;
    height: 0.96rem;
    margin-top: 0.1333rem;
    margin-bottom: 0.24rem;
}
/* end history */
/* information-list start */
.information-list{
    /* min-height: 10.6667rem;
    background-color: khaki; */
    margin-bottom: 0.6667rem;
}
.information-list ul{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.information-list ul li{
    width: 4.6133rem;
}
.information-list .common-card p.title{
    margin-bottom: 0.2267rem;
}
/* end information-list */
/* end main */
/* tabbar start */
.tabbar{
    background-color: #fff;
    width: 10rem;
    height: 1.3333rem;
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 22;
    box-shadow: 0 0 0.0267rem #ddd;
    /* left: 50%;
    transform: translateX(-50%); */
}
.tabbar ul{
    display: flex;
    justify-content: space-between;
    padding: 0.1333rem 0.6667rem 0;
}
/* .tabbar ul li{
    border: 0.0133rem solid red; 
} */
.tabbar ul li a{
    display: flex;
    flex-direction: column;
    /* align-items: center; */
}
.tabbar ul li.active a{
    color: #FF9F00;
    /* background-color: #FF9F00; */
}
.tabbar ul li .icon{
    height: 0.4933rem;
    /* border: 0.0133rem solid blue; */
    background-repeat: no-repeat;
    background-position: top center;
    background-size: auto 0.4933rem;
    margin-bottom: 0.1467rem;
}
.tabbar ul li .icon1{ 
    background-image: url(../images/f-icon1-active@2x.png);
}
.tabbar ul li .icon2{ 
    background-image: url(../images/f-icon2@2x.png);
}
.tabbar ul li .icon3{ 
    background-image: url(../images/f-icon3@2x.png);
}
.tabbar ul li .icon4{ 
    background-image: url(../images/f-icon4@2x.png);
}
.tabbar ul li.add a{
    display: block;
    width: 0.9733rem;
    height: 1.0133rem;
    border-radius: 0.3867rem;
    background:#FF9F00 url(../images/f-icon-add.png) no-repeat center/0.4133rem 0.4rem;
}
/* end tabbar */
